class Car:
    # wheels = 4

    def drive(self, speed):
        self.wheels = 4
        print(f"汽车启动~~~~{speed}~~~")

    @classmethod
    def stop(cls):
        print("汽车停止++++++++")

    @staticmethod
    def test():
        print("静态方法测试=======")


car1 = Car()
# print(car1.wheels)
# print(Car.wheels)
car1.drive(100)
print(car1.wheels)
car1.color = "red"
print(car1.color)
Car.stop()
car1.stop()
Car.test()
car1.test()
